package com.sqx.modules.coupon.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sqx.modules.coupon.entity.TbCoupon;
import com.sqx.modules.datacentre.entity.SysUserShop;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TbCouponDao extends BaseMapper<TbCoupon> {

    IPage<TbCoupon> selectCouponByShopId(Page<TbCoupon> pages, List<SysUserShop> userShops);

}
